Method and architecture for synchronizing a transport and path overhead generator and/or extractor to an path overhead transport and path processor

ABSTRACT

An apparatus comprising a first circuit and a second circuit. The first circuit may be configured to synchronize at least one transport overhead byte with a pulse on an external pin. The second circuit may be configured to synchronize the transport overhead byte to the overhead processor. The overhead processor may be synchronized with (i) an overhead generator and (ii) an overhead extractor.

The present application claims the benefit of provisional application Ser. No. 60/109,501, filed Nov. 23, 1998 and is hereby incorporated by reference in its entirety.

CROSS-REFERENCE TO RELATED APPLICATIONS

The present application may be related to Ser. No. 09435749, filed concurrently and is hereby incorporated by reference in its entirety.

FIELD OF THE INVENTION

The present invention relates to synchronizing circuits generally and, more particularly, to an architecture and method for synchronizing a transport and path overhead generator and a transport and path overhead extractor to a transport and path overhead processor.

BACKGROUND OF THE INVENTION

As shown in the block diagram of FIG. 1, a conventional circuit 10 comprises a transport overhead/path overhead generator 12, a transport overhead/path overhead extractor 14, and a path and transport overhead processor 16. The path and transport overhead processor 16 receives or generates a relatively large set of data communications signals. The path and transport overhead processor 16 comprises a path overhead interface 18, a transport overhead interface 20, a path overhead interface 22 and a transport overhead interface 24. The path overhead interface 18 comprises a number of signals TPOH, TPOHEN, TPOHCLK and TPOHFP, and receives or generates signals RPOH, RPOHCLK and RPOHFP. Transmit and receive path overhead pins (e.g., “TPOH” and “RPOH”) are for respectively transmitting data to and receiving data from the path and transport overhead processor 16. The path overhead and transport processor 16 transmits and receives path overhead clocks (e.g., RPOHCLK and TPOHCLK), transport overhead clocks (e.g., TTOHCLK and RTOHCLK), 15 transport overhead enable signals (e.g., XTOHEN), and start of the payload indicators (e.g., TPOHFP). The path overhead enable pin (e.g., TPOHEN) for the path overhead generator 12 indicates whether or not the current path overhead bytes should be used.

In this methodology, a separate interface is provided for transport overhead communication. For the transmit side, a transmit path frame signal TPOHFP is asserted by the path and transport overhead processor 16 to synchronize the generator 12 and the processor 16. Once the path overhead generator 12 detects an asserted signal on the TPOHFP pin, all the path overhead bytes serially shift out on the data pin TPOH. This serial shifting of the data is timed and/or controlled by a clock signal (e.g., TPOHCLK).

For the receive side, the path overhead processor 16 asserts a receive frame signal (e.g., RPOHFP) in order to indicate to the path overhead extractor 14 that the path overhead is ready log and is being presented on the data pin (e.g., RPOH). Data extraction operations are timed and/or controlled by a clock (e.g., RPOHCLK).

A significant disadvantage of this conventional methodology is the relatively high pin count resulting from the separate transport overhead interfaces 20 and 24 and the path overhead interfaces 18 and 22. For multiple framer chips (e.g., having 2, 4 or more path overhead processors), separate interfaces will increase the pin count significantly. Another disadvantage of such a conventional approach is the need for two additional separate sets of shift registers for the receive side and two separate sets of shift registers for the transmit side.

SUMMARY OF THE INVENTION

The present invention concerns an apparatus comprising a first circuit and a second circuit. The first circuit may be configured to synchronize at least one transport overhead byte with a pulse on an external pin. The second circuit may be configured to synchronize the transport overhead byte to the overhead processor. The overhead processor may be synchronized with (i) an overhead generator and (ii) an overhead extractor.

Another aspect of the present invention concerns a method for synchronizing a path overhead generator or a path overhead extractor to a path overhead processor, comprising the steps of (A) synchronizing at least one transport overhead byte with a pulse on an external pin, (B) presenting the transport overhead byte to the overhead processor in a first row and (C) processing the transport overhead byte in a second row, where the second row follows the first row.

The objects, features and advantages of the present invention include (i) providing an architecture and method that may reduce the number of pins per interface without losing functionality, (ii) combining the separate path overhead and transport overhead interfaces into a single interface, and/or (iii) using the single, combined interface to communicate between a path and transport overhead processor and an overhead generator and/or an overhead extractor.

BRIEF DESCRIPTION THE DRAWINGS

These and other objects, features and advantages of the present invention will be apparent from the following detailed description and the, appended claims and drawings in which:

FIG. 1 is a block diagram of a conventional synchronizing circuit having separate path and transport overhead interfaces;

FIG. 2 is a block diagram of combined path and overhead interfaces in accordance with a preferred embodiment of the present invention;

FIGS. 3a-3 c are timing diagrams illustrating an exemplary communication protocol for synchronization between the processor and the generator or the processor and the extractor within one time frame; and

FIGS. 4a-4 c are timing diagrams illustrating another exemplary communication protocol for synchronization between the processor and the generator or the processor and the extractor within one time frame when the generator first sends a path overhead byte.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

The present invention concerns an architecture, circuit and method for synchronizing a path and/or transport overhead generator and/or extractor to an overhead processor. The present invention may provide a single interface for the path overhead and the transport overhead, and may reduce the overall number of pins when compared to the scheme shown in FIG. 1. The method may indicate a start of a SONET frame by providing a start-of-frame (SOF) pulse on a pin, thereby indicating that the next row is the start of the frame. Similarly, a pin pulse generally indicates to the overhead generator that the start of the data payload is in the next row. A similar scheme may be used for the receive interface. One aspect of the present invention provides in-band signaling to communicate between the processor and the generator or between the processor and the extractor, using a sequence of patterns on the pin to designate an out-of-synchronization condition. An alternative embodiment may provide intelligent generators or extractors to count pulses to thereby determine an out-of-synchronization condition.

Referring to FIG. 2, a circuit 100 is shown in accordance with a preferred embodiment of the present invention. The circuit 100 generally comprises a generator (e.g., a transport overhead/path overhead generator) 102, an extractor (e.g., a transport overhead/path overhead extractor) 104, and a processor (e.g., a path and transport overhead processor) 106. The processor 106 may include an interface (e.g., a combined transmit overhead laid interface) 108 and an interface (e.g., a combined receive overhead interface) 110. The interfaces 108 and 110 may combine the features of the path overhead interface and the transport overhead interface, and may be referred to as a combined transmit or receive combined overhead interfaces. By combining the functions of the two interfaces, up to three pins may be eliminated on the transmit side (e.g., the pins TPOH, TPOHCLK, TPOHEN of FIG. 1), and up to two pins may be eliminated from the receive side (e.g., the pins RPOH and RPOHCLK of FIG. 1).

The transport overhead bytes may be synchronized with a pulse on the TTOHFP pin for the transmit interface 108. The pulse may operate in a manner similar to the approach of FIG. 1, and may indicate a start of the SONET frame. The pulse(s) on the TTOHFP pin may appear one row before the actual start of the frame, generally indicating to the overhead generator 102 that the next row of the SONET frame is the start of the frame. In this way, the transport overhead data may be obtained by the overhead processor 106 one row before the data is actually processed. A pulse on the TPOHFP pin may indicate the start of the payload. Similarly to the start of frame pulse, a start of payload pulse may indicate to the overhead generator 102 that a start of the next payload is in the next row, for which the data in the current row may be required. In this way, all the overhead bytes are obtained by the overhead processor 106 one row before they are used. Conventional logic in the overhead processor 106 may be configured to process and/or generate start of frame pulses and the corresponding payload.

For the receive interface 110, the overhead processor 106 may generate a pulse on the RTOHFP pin, generally indicating the start of the next SONET frame. The processor may also generate a pulse on the RPOHFP pin, generally indicating the start of the next payload. Conventional processor logic may also be configured to process and/or generate the pulses on the RTOHFP pin and the RPOHFP pin.

In a SONET device, the location of the transport overhead in the SONET frame is generally fixed with respect to the start of frame. However, the location of the start of payload in the frame may vary. The payload column may move in the frame in four different ways according to the following conditions: (1) new pointer with pointer movement negative, (2) negative frequency justification, (3) new pointer with pointer movement positive, and (4) positive frequency justification. Conditions (1) and (3) may be implemented with only one pointer in a row, since such conditions generally do not cause the overhead processor 106 and either the overhead generator 102 or the overhead extractor 104 to go out of synchronization.

In one case, negative frequency justification may occur when a path overhead (POH) byte is in the first column. Such a condition may move the POH byte into an H3 location in row 3. In turn, this may cause the next POH byte to move into the last column of the 3rd row. In such a case, there may be two POH bytes that need to be transmitted in the same row. During such a condition, the second POH byte received by the overhead processor 106 in the 3rd row may be for the second POH byte. From then on, each successive POH byte may be extracted by the overhead processor 106 in the same row in which the POH byte is received. This condition may be considered to be a state in which the overhead processor 106 and the overhead generator 102 are out of synchronization. If this condition is not corrected, and the overhead processor 106 may perform several subsequent negative frequency justifications, the POH overhead byte may be required to be sent before being completely received, which should result in a path overhead byte error.

A second problem may occur for the positive frequency justification. In this case, with relevance to the pins and/or signals in FIG. 1, there may be a condition where no POH byte is received or present in a given row (e.g., row 3). If, for example, the POH byte is in the last column of the 3rd row and positive frequency justification occurs, row 3 may not need to send a POH byte. Thus, the overhead generator 102 may have provided the POH byte two rows before being sent. If the overhead generator 102 and the overhead processor 106 are not synchronized (e.g., such that a difference of 2 rows exists from the time the POH byte is sent by the overhead generator 102 to the time the POH byte is ready to be extracted by the overhead processor 106 for subsequent transmission), a buffer overflow condition may occur in the overhead processor 106. A resulting error may occur in the POH byte after several subsequent positive justifications.

For the receive interface 110, failure to correct negative frequency justification may cause buffer overflow, and failure to correct positive frequency justification may cause incorrect interpretation of data.

The above mentioned problems suggest that there should be a mechanism to synchronize the overhead processor 106 with the overhead generator 102 and/or the overhead extractor 104. One embodiment of the present invention may provide an in-band signaling scheme to establish synchronization between the overhead processor 106 and the overhead generator 102 and/or between the overhead processor 106 and the overhead extractor 104. A conventional state machine, receiving information about the presence and/or frame location of POH byte (s), may generate the in-band signals. Such an embodiment may use the fact that a pulse on the path overhead frame pin XPOHFP (e.g., where X=T or X=R) indicates a start of the payload. A pattern or sequence of patterns on the XPOHFP pin may communicate an out-of-synchronization condition. Exemplary patterns are shown in the following Table 1:

TABLE 1 GENERATOR EXTRACTOR PATTERN CONDITION ACTION ACTION 01000 Synchronized Send J1 Byte Expect J1 Byte only only 01100 Negative Frequency Send Z5 and J1 Expect Z5 and Justification Bytes J1 Bytes 01110 Positive Frequency Send J1 Byte Expect J1 Byte Justification in the next in the next Row Row

Such an embodiment may bring the overhead processor 106 and the overhead generator 102, or the overhead processor 106 and the overhead extractor 104 into synchronization within one frame time period.

FIGS. 3a-3 c illustrate exemplary waveforms generated in one example of the communication described in connection with FIG. 2. FIG. 3a shows the synchronization pattern for the transmit side in which a start of payload signal that is active for n cycles indicates that the transport overhead bytes (e.g., TOH) may be shifted out first and the J1 path overhead byte is shifted out at the end of the row. FIG. 3b illustrates the condition for negative frequency justification where a start of payload signal that is active for M cycles (e.g., where M is an integer) indicates that the TOH bytes may be shifted out first, then the Z5 and the J1 bytes may be shifted out at the end. FIG. 3c illustrates the condition for positive frequency justification where no path overhead byte is present. In this condition, the path overhead byte(s) is/are shifted from the end of the row to the beginning of the next row.

FIGS. 4a, 4 b and 4 c illustrate exemplary waveforms for the condition where the overhead generator 102 may send the path overhead byte first. In the case of positive frequency justification, the path overhead byte sent in the same row as the TPOHFP pulse may be ignored by the overhead processor 106, which is generally expecting the J1 byte in the next row. FIG. 4a shows the transmit overhead where the overhead byte is sent first. FIG. 4b shows the synchronization pattern after negative frequency justification, where the J1 byte has been shifted from the first byte of row N+1 to the last byte of row N. FIG. 4c shows the synchronization pattern after multiple successive positive justification. A detailed description of SONET frames may be found in “Practical Data Communications” by Roger L. Freeman (e.g., p 443-448) which is hereby incorporated by reference in its entirety.

In another embodiment of the present invention, implementation of the communication between the overhead processor 106 and the overhead generator 102 or between the overhead processor 106 and the overhead extractor 104 may be implemented without in-band signaling. In such an embodiment, the overhead generator 102 and the overhead extractor 104 may need to be implemented with some built-in intelligence and/or logic. Such intelligent generators 102 or extractors 104 generally count between POHFP pulses to determine whether the pulses have occurred before or after an expected time. If a pulse has occurred earlier by one or more clock cycle(s), a negative frequency justification condition generally occurs. In this condition, the Z5 and/or J1 path overhead bytes may be sent in a first row. If the pulse occurs later by one or more clock cycle(s), a positive frequency justification condition generally occurs, in which case, the overhead processor 106 will send the J1 byte in the next row.

If the XPOHFP pulse comes earlier or later than expected by more than one byte, then pointer movement has occurred. The above process (e.g., sending the J1 byte) may be repeated until proper synchronization has occurred.

While the invention has been particularly shown and described with reference to the preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made without departing from the spirit and scope of the invention. 

What is claimed is:
 1. A method for synchronizing a path overhead generator or a path overhead extractor to a path overhead processor, comprising the steps of: (A) synchronizing at least one transport overhead byte with a pulse on an external pin; (B) presenting the transport overhead byte to the overhead processor in a first row; and (C) processing said transport overhead byte in a second row, said second row following said first row.
 2. The method according to claim 1 further comprising the steps of: (D) synchronizing a payload overhead byte with a pulse on said external pin; and (E) presenting payload data to an overhead generator one of said rows.
 3. The method according to claim 2 further comprising the steps of: (F) synchronizing transport overhead byte with a pulse on a second external pin; and (G) presenting the transport overhead byte to the overhead processor one row before the transport overhead byte.
 4. The method according to claim 3 further comprising the steps of: (H) synchronizing a second payload overhead byte with a pulse on a third external pin; and (I) presenting the payload overhead byte to the overhead generator in one of said first and second one rows.
 5. The method of claim 1, further comprising the step of: synchronizing between the processor and either the generator or extractor by in-band signaling.
 6. The method of claim 1, further comprising the step of: counting between pulses to determine a start of payload pulse and a reference pulse to determine if a start or payload has occurred before or after a predetermined device time; and communicating the start of payload determination to the processor and either the generator or extractor.
 7. A circuit comprising: a first circuit configured to synchronize at least one transport overhead byte with a pulse on an external pin; and a second circuit configured to synchronize the transport overhead byte to the overhead processor, wherein said overhead processor is synchronized with (i) an overhead generator and (ii) an overhead extractor.
 8. The circuit according to claim 7 further comprising: a third circuit configured to (i) synchronize a payload overhead bytes with a pulse on said external pin and (ii) present a payload data to said overhead generator in a first row.
 9. The circuit according to claim 8 further comprising: a fourth circuit configured to (i) synchronize the transport overhead bytes with a pulse on a second external pin and (ii) present the transport overhead data to the overhead processor in one of said rows.
 10. The circuit according to claim 9 further comprising: a fifth circuit configured to (i) synchronize the payload overhead bytes with a pulse on a third external pin and (ii) present the payload overhead data to the overhead generator in one of said rows.
 11. The circuit according to claim 7, further comprising: a third circuit configured to synchronize the processor and either (i) the generator or (ii) the extractor, said third circuit using in-band signaling communication.
 12. The circuit according to claim 7, further comprising: a third circuit configured to communicate between the processor and either (i) the generator or (ii) the extractor, said communication by counting between pulses to determine if the start of the payload has occurred before or after an acceptable time.
 13. A circuit comprising: a first circuit configured to synchronize at least one transport overhead byte with a pulse on an external pin; and a second circuit configured to synchronize the transport overhead byte to the overhead processor, wherein said overhead processor is synchronized with (i) an overhead generator and (ii) an overhead extractor.
 14. The circuit according to claim 13 further comprising: a third circuit configured to (i) synchronize a payload overhead bytes with a pulse on said external pin and (ii) present a payload data to said overhead generator in a first row.
 15. The circuit according to claim 14 further comprising: a fourth circuit configured to (i) synchronize the transport overhead bytes with a pulse on a second external pin and (ii) present the transport overhead data to the overhead processor in one of said rows.
 16. The circuit according to claim 15 further comprising: a fifth circuit configured to (i) synchronize the payload overhead bytes with a pulse on a third external pin and (ii) present the payload overhead data to the overhead generator in one of said rows. 